<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>智慧图书系统-商品列表</title>
	<link rel="stylesheet" type="text/css" href="css/reset.css">
	<link rel="stylesheet" type="text/css" href="css/main.css">
	<script type="text/javascript" src="js/hosts.js"></script>
	<script type="text/javascript" src="js/vue-2.5.16.js"></script>
	<script type="text/javascript" src="js/axios-0.18.0.min.js"></script>
</head>
<body>
	<div id="app" v-cloak>
	<div class="header_con">
		<div class="header">
			<div class="welcome fl">欢迎来到智慧图书系统!</div>
			<div class="fr">
				<div v-if="username" class="login_btn fl">
					欢迎您：<em>[[ username ]]</em>
					<span>|</span>
					<a @click="logout">退出</a>
				</div>
				<div v-else class="login_btn fl">
					<a href="login.html">登录</a>
					<span>|</span>
					<a href="register.html">注册</a>
				</div>
				<div class="user_link fl">
					<span>|</span>
					<a href="user_center_info.html">用户中心</a>
					<span>|</span>
					<a href="cart.html">我的收藏</a>
					<span>|</span>
					<a href="user_center_order.html">我的借阅</a>
				</div>
			</div>
		</div>
	</div>

	<div class="search_bar clearfix">
		<a href="index.html" class="logo fl"><img src="images/logo.png"></a>
		<div class="search_wrap fl">
			<form method="get" action="/search.html" class="search_con">
				<input type="text" class="input_text fl" name="q" placeholder="搜索图书">
				<input type="button" class="input_btn fr" name="" value="搜索">
			</form>
			<ul class="search_suggest fl">
				<li><a href="#">流浪地球</a></li>
				<li><a href="#">三体</a></li>
				<li><a href="#">python基础教程</a></li>
				<li><a href="#">java核心技术</a></li>
			</ul>
		</div>

	</div>

	<div class="navbar_con">
		<div class="navbar">
			<div class="sub_menu_con fl">
				<h1 class="fl">图书分类</h1>
				<ul class="sub_menu">
                    
                    <li>
                        <div class="level1">
                            
                            <a href="http://www.baidu.com">文学</a>
                            
                        </div>
                        <div class="level2">
                            
                            <div class="list_group">
                                <div class="group_name fl">小说 &gt;</div>
                                <div class="group_detail fl">
                                    
                                    <a href="/list.html?cat=82">中国小说</a>
                                    
                                    <a href="/list.html?cat=83">日本小说</a>
                                    
                                    <a href="/list.html?cat=84">欧美小说</a>
                                    
                                    <a href="/list.html?cat=85">中国古代小说</a>
                                    
                                    <a href="/list.html?cat=86">国外古典小说</a>
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">随笔 &gt;</div>
                                <div class="group_detail fl">
                                    
                                    <a href="/list.html?cat=87">三毛</a>
                                    
                                    <a href="/list.html?cat=88">杨绛</a>
                                    
                                    <a href="/list.html?cat=89">柴静</a>
                                    
                                    <a href="/list.html?cat=90">王小波</a>
                                    
                                    <a href="/list.html?cat=91">村上春树</a>
                                    
                                    <a href="/list.html?cat=92">北野武</a>
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">经典 &gt;</div>
                                <div class="group_detail fl">
                                    
                                    <a href="/list.html?cat=93">钱锺书</a>
                                    
                                    <a href="/list.html?cat=94">余华</a>
                                    
                                    <a href="/list.html?cat=95">刘慈欣</a>
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">散文 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">诗歌 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">童话 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">儿童文学 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">名著 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                        </div>
                    </li>
                    
                    <li>
                        <div class="level1">
                            
                            <a href="http://www.baidu.com">流行</a>
                            
                        </div>
                        <div class="level2">
                            
                            <div class="list_group">
                                <div class="group_name fl">漫画 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">推理 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">绘本 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">青春 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">科幻 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">悬疑 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">言情 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">奇幻 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">武侠 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                        </div>
                    </li>
                    
                    <li>
                        <div class="level1">
                            
                            <a href="http://www.baidu.com">文化</a>
                            
                        </div>
                        <div class="level2">
                            
                            <div class="list_group">
                                <div class="group_name fl">历史 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">心理 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">哲学 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">传记 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">社会 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">艺术 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">政治 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                        </div>
                    </li>
                    
                    <li>
                        <div class="level1">
                            
                            <a href="http://www.baidu.com">生活</a>
                            
                        </div>
                        <div class="level2">
                            
                            <div class="list_group">
                                <div class="group_name fl">爱情 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">成长 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">旅行 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">励志 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">女性 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">摄影 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">教育 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">美食 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">人际 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                        </div>
                    </li>
                    
                    <li>
                        <div class="level1">
                            
                            <a href="http://www.baidu.com">经管</a>
                            
                        </div>
                        <div class="level2">
                            
                            <div class="list_group">
                                <div class="group_name fl">经济 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">商业 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">营销 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">创企业 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">广告 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                        </div>
                    </li>
                    
                    <li>
                        <div class="level1">
                            
                            <a href="http://www.baidu.com">科技</a>
                            
                        </div>
                        <div class="level2">
                            
                            <div class="list_group">
                                <div class="group_name fl">科普 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">互联网 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">编程 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">科学 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                            <div class="list_group">
                                <div class="group_name fl">通讯 &gt;</div>
                                <div class="group_detail fl">
                                    
                                </div>
                            </div>
                            
                        </div>
                    </li>
                    
                </ul>
			</div>


			<ul class="navlist fl">
				<li><a href="">首页</a></li>
				<li class="interval">|</li>
				<li><a href="">更多分类</a></li>
				<li class="interval">|</li>
				<li><a href="">更多资讯</a></li>
			</ul>
		</div>
	</div>

	<div class="breadcrumb">
		<a :href="cat1.url">[[cat1]]</a>
		<span>></span>
		<span>[[cat2]]</span>
		<span>></span>
		<a href="#">[[cat3]]</a>
	</div>

	<div class="main_wrap clearfix">
		<div class="l_wrap fl clearfix">
			<div class="new_goods">
				<h3>热门排行</h3>
				<ul>
					<li>
						<a href="#"><img src="http://47.101.191.40:8888//group1/M00/00/00/rBNwfFyeSiGAIIY4AACBSPuCJx43861385"></a>
						<h4><a href="#">流浪地球</a></h4>
						<div >刘慈欣</div>
					</li>
					<li>
						<a href="#"><img src="http://47.101.191.40:8888//group1/M00/00/00/rBNwfFyc4MOAH_MAAACvd8y-oLw8986778"></a>
						<h4><a href="#">三体</a></h4>
						<div >刘慈欣</div>
					</li>
				</ul>
			</div>
		</div>

		<div class="r_wrap fr clearfix">
			<div class="sort_bar">
				<a @click="on_sort('-create_time')" :class="ordering=='-create_time'?'active':''">默认</a>
				<a @click="on_sort('-scorce')" :class="ordering=='-scorce'?'active':''">评分</a>
				<a @click="on_sort('comments')" :class="ordering=='comments'?'active':''">人气</a>
			</div>

			<ul class="goods_type_list clearfix">
				<li v-for="sku in skus">
					<a :href="sku.url"><img :src="sku.image_url" ></a>
					<h4><a :href="sku.url">[[sku.name]]</a></h4>
					<div class="operate">
						<!--<span class="prize">[[sku.author]]</span>-->
                        <span><h4>[[sku.author]]</h4></span>
						<span>[[sku.comments]]评价</span>
					</div>
				</li>
			</ul>
            <!--<div v-if="skus.length==0"><p>暂时没有商品。</p></div>-->

			<div class="pagenation">
				<a v-show="previous" @click="on_page(previous)">上一页</a>
				<a v-for="num in page_nums" @click="on_page(num)" :class="num==page?'active':''">[[num]]</a>
				<a v-show="next" @click="on_page(next)">下一页></a>
			</div>
		</div>
	</div>

	<div class="footer">
		<div class="foot_link">
			<a href="#">关于我们</a>
			<span>|</span>
			<a href="#">联系我们</a>
			<span>|</span>
			<a href="#">招聘人才</a>
			<span>|</span>
			<a href="#">友情链接</a>
		</div>
		<p>CopyRight © 2019 山东智慧图书馆 All Rights Reserved</p>
		<p>电话：0531-****888    鲁ICP备*******8号</p>
	</div>
	</div>
	<script type="text/javascript" src="js/list.js"></script>
</body>
</html>